package com.powergisol.gis.dao;

import com.powergisol.gis.entity.BoardBasisEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.concurrent.LinkedBlockingDeque;

@Mapper
public interface BoardBasisMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BoardBasisEntity record);

    int insertSelective(BoardBasisEntity record);

    BoardBasisEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BoardBasisEntity record);

    int updateByPrimaryKey(BoardBasisEntity record);

    void saveBatch(@Param("basisEntities") LinkedBlockingDeque<BoardBasisEntity> basisEntities);

    List<Object> getListByUUid(@Param("uuid")String uuid);

    void delTabBoardBasis(@Param("uuid")String uuid);

    void deltabBoardDetailed(@Param("uuid")String uuid);
}